You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Matrix Structure > Matrix Methods > FFT2D Method > Matrix.FFT2D Method ([In] TMtx)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Matrix.FFT2D Method ([In] TMtx)

Forward two-dimentional Fast Fourier Transformation from real/complex to complex.

Syntax
C#
Visual Basic
public TMtx FFT2D([In] TMtx Mtx);

The transformation is applied on data in Mtx matrix and results are saved in the calling matrix. The source matrix may be real or complex. The source matrix is not changed. The calling matrix will be complex and will be of the same size as the source matrix. (rows and cols will not chage).

var a,b: Matrix; begin a.SetIt(2,4,False, [1, 2, 3, 4, -5, 6,-7, 8]); b.FFT2D(a); // result will be // [(12,0), ( 0,4), (-28,0), (0,-4), // ( 8,0), (-4,0), ( 24,0), (-4,0)] end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!